package com.xjy.service.impl;

import com.xjy.model.auto.UserInfo;
import com.xjy.mapper.auto.UserInfoMapper;
import com.xjy.service.IUserInfoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 用户信息表 服务实现类
 * </p>
 *
 * @author 达瓦里氏
 * @since 2021-11-10
 */
@Service
public class UserInfoServiceImpl extends ServiceImpl<UserInfoMapper, UserInfo> implements IUserInfoService {

    @Autowired(required = false)
    UserInfoMapper userInfoMapper;

    @Override
    public UserInfo login(String idCard, String password) {
        return userInfoMapper.login(idCard,password);
    }
}
